<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="stockBill3List" title="生产领料查询" actionUrl="stockBill3Controller.do?datagrid"  idField="id"  fit="true" queryMode="group" autoLoadData="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="日期" field="Fdate"  formatter="yyyy-MM-dd"  isDate="true" query="true" queryMode="group"></t:dgCol>
   <t:dgCol title="单据编号" field="FBillNo" query="true" ></t:dgCol>
   <t:dgCol title="领料部门" field="FDeptName"   dictionary="dept" query="true" ></t:dgCol>
   <t:dgCol title="领料用途" field="Fuse"  ></t:dgCol>
   <t:dgCol title="发料仓库" field="FSCStockName" dictionary="STock" query="true" ></t:dgCol>
   <t:dgCol title="物料名称" field="FItemName" query="true" ></t:dgCol>
   <t:dgCol title="规格型号" field="FItemModel" query="true" ></t:dgCol>
   <t:dgCol title="单位" field="FUnitName" ></t:dgCol>
   <t:dgCol title="批号" field="FBatchNo" ></t:dgCol>
   <t:dgCol title="数量" field="FQty" ></t:dgCol>
   <t:dgCol title="领料" field="FSManagerName" ></t:dgCol>
   <t:dgCol title="制单" field="FuserName" ></t:dgCol>
   <t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"   operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("stockBill3Controller.do?export","stockBill3List");
	}
	
</script>

